package com.xxx.service;

import com.xxx.dao.StudentDaoImpl;
import com.xxx.pojo.Student;

import java.util.ArrayList;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/8/5 16:04
 * @Copyright 博为峰
 */
public class StudentServiceImpl implements StudentService {
    @Override
    public ArrayList<Student> queryStudents() {
        final StudentDaoImpl studentDao = new StudentDaoImpl();
        return studentDao.query();
    }
}
